<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe Log</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe Log</h1><!-- doxytag: class="Log" -->
<p>Classe permettant de simplifié la gestion des erreurs.  
<a href="#_details">Plus de détails...</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#ae06f9df122e0b56f97a4c0a503d41322">err</a> ($method, $msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a5ca1e961eec55a1a5201d77687449066">warn</a> ($method, $msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a6b81bb3b0b4c293d668f1910a5e4941c">notice</a> ($method, $msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a79c738b6e23148a1b15adebb382e42c0">debug</a> ($method, $msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a8fbc2fdd9f680e64edaba48ce695905e">infos</a> ($method, $msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a34bcad1a0255eaea53a49cc6ed0e5bf0">sql</a> ($method, $msg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a4269a6419637edfc59f8f3dccb45ed58">setLogLevel</a> ($l)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#af9c58a771b99bacbf6abde3a399039a3">dispMsg</a> ()</td></tr>
<tr><td colspan="2"><h2>Champs de données</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a3361aeeb3c015dde05bbb9493816cf04">LOGLVL_ERR</a> = 1</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#aa62a5d0b76140c7906437cd4568e95f5">LOGLVL_WARN</a> = 3</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#aee991b91a39ff32d6ce7bd53987f416e">LOGLVL_NOTICE</a> = 5</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a98c96244551420aff3678d24b368c5f6">LOGLVL_DEBUG</a> = 7</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a3af17a912b3d300b65f2766a54242467">LOGLVL_INFOS</a> = 8</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#ad997f023697d59625aca4f4e5f8a483d">LOGLVL_SQL</a> = 9</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a02721dac9f58aa1c07505d20838d9930">LOG_FILE</a> = 'log.txt'</td></tr>
<tr><td colspan="2"><h2>Fonctions membres privées statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#af2428bb484062e4f46d95e8a02c859d7">enregistre</a> ($method, $msg, $type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#adf1ceba4f59951cb87cb61681958b476">writeMsg</a> ($t)</td></tr>
<tr><td colspan="2"><h2>Attributs privés statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a28cdb6fe678f19df92fddd4e7650d3e7">$dispMsg</a> = false</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_log.html#a60feeb15729e8ae0ae8841791d0c4db9">$logLevel</a> = 1</td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Classe permettant de simplifié la gestion des erreurs. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaetan Collaud </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a79c738b6e23148a1b15adebb382e42c0"></a><!-- doxytag: member="Log::debug" ref="a79c738b6e23148a1b15adebb382e42c0" args="($method, $msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static debug </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af9c58a771b99bacbf6abde3a399039a3"></a><!-- doxytag: member="Log::dispMsg" ref="af9c58a771b99bacbf6abde3a399039a3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static dispMsg </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af2428bb484062e4f46d95e8a02c859d7"></a><!-- doxytag: member="Log::enregistre" ref="af2428bb484062e4f46d95e8a02c859d7" args="($method, $msg, $type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static enregistre </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae06f9df122e0b56f97a4c0a503d41322"></a><!-- doxytag: member="Log::err" ref="ae06f9df122e0b56f97a4c0a503d41322" args="($method, $msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static err </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8fbc2fdd9f680e64edaba48ce695905e"></a><!-- doxytag: member="Log::infos" ref="a8fbc2fdd9f680e64edaba48ce695905e" args="($method, $msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static infos </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6b81bb3b0b4c293d668f1910a5e4941c"></a><!-- doxytag: member="Log::notice" ref="a6b81bb3b0b4c293d668f1910a5e4941c" args="($method, $msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static notice </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4269a6419637edfc59f8f3dccb45ed58"></a><!-- doxytag: member="Log::setLogLevel" ref="a4269a6419637edfc59f8f3dccb45ed58" args="($l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static setLogLevel </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>l</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a34bcad1a0255eaea53a49cc6ed0e5bf0"></a><!-- doxytag: member="Log::sql" ref="a34bcad1a0255eaea53a49cc6ed0e5bf0" args="($method, $msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static sql </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a5ca1e961eec55a1a5201d77687449066"></a><!-- doxytag: member="Log::warn" ref="a5ca1e961eec55a1a5201d77687449066" args="($method, $msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static warn </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>method</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>msg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adf1ceba4f59951cb87cb61681958b476"></a><!-- doxytag: member="Log::writeMsg" ref="adf1ceba4f59951cb87cb61681958b476" args="($t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static writeMsg </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>t</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="a28cdb6fe678f19df92fddd4e7650d3e7"></a><!-- doxytag: member="Log::$dispMsg" ref="a28cdb6fe678f19df92fddd4e7650d3e7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$dispMsg = false<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a60feeb15729e8ae0ae8841791d0c4db9"></a><!-- doxytag: member="Log::$logLevel" ref="a60feeb15729e8ae0ae8841791d0c4db9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$logLevel = 1<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a02721dac9f58aa1c07505d20838d9930"></a><!-- doxytag: member="Log::LOG_FILE" ref="a02721dac9f58aa1c07505d20838d9930" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_log.html#a02721dac9f58aa1c07505d20838d9930">LOG_FILE</a> = 'log.txt'</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a98c96244551420aff3678d24b368c5f6"></a><!-- doxytag: member="Log::LOGLVL_DEBUG" ref="a98c96244551420aff3678d24b368c5f6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_log.html#a98c96244551420aff3678d24b368c5f6">LOGLVL_DEBUG</a> = 7</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3361aeeb3c015dde05bbb9493816cf04"></a><!-- doxytag: member="Log::LOGLVL_ERR" ref="a3361aeeb3c015dde05bbb9493816cf04" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_log.html#a3361aeeb3c015dde05bbb9493816cf04">LOGLVL_ERR</a> = 1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3af17a912b3d300b65f2766a54242467"></a><!-- doxytag: member="Log::LOGLVL_INFOS" ref="a3af17a912b3d300b65f2766a54242467" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_log.html#a3af17a912b3d300b65f2766a54242467">LOGLVL_INFOS</a> = 8</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aee991b91a39ff32d6ce7bd53987f416e"></a><!-- doxytag: member="Log::LOGLVL_NOTICE" ref="aee991b91a39ff32d6ce7bd53987f416e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_log.html#aee991b91a39ff32d6ce7bd53987f416e">LOGLVL_NOTICE</a> = 5</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad997f023697d59625aca4f4e5f8a483d"></a><!-- doxytag: member="Log::LOGLVL_SQL" ref="ad997f023697d59625aca4f4e5f8a483d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_log.html#ad997f023697d59625aca4f4e5f8a483d">LOGLVL_SQL</a> = 9</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa62a5d0b76140c7906437cd4568e95f5"></a><!-- doxytag: member="Log::LOGLVL_WARN" ref="aa62a5d0b76140c7906437cd4568e95f5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_log.html#aa62a5d0b76140c7906437cd4568e95f5">LOGLVL_WARN</a> = 3</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/<a class="el" href="_log_8php.html">Log.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
